import axios from 'axios';

// 删除账户
let remove = (data) => axios.post('/user/remove', data);

// 启用/禁用账户
let usable = (data) => axios.post('/user/usable', data);

// 获取用户列表
let list = (params) => axios.get('/user/list', { params });

// 让函数能在别的页面用，要export
export default {
	remove,
	usable,
	list,
}
